{include file='../templates/header.tpl'}
<div id="notaContainer">
    {if $arrNota.imagen}
        <div class="fotoBorder">
            <img class="ANFoto" src="/fotos/{$arrNota.imagen}" alt="">
            <span class="pieFoto">{$arrNota.piefoto}</span>
        </div>    
    {/if}
    <h3>{$arrNota.titulo}</h3>    
    <div id="descripcion">{$arrNota.descripcion}</div>
    <div id="seccionFecha">{$arrNota.seccion}<br />{$arrNota.fechaPublicacion|date_format:"%d-%m-%Y"} {$arrNota.horaPublicacion|date_format:'%H:%M'}</div>
    <div>{$arrNota.texto|html_entity_decode:$smarty.const.ENT_QUOTES:'utf-8'}</div> 
    <div class="banner728x90Nota">
		<script type='text/javascript'><!--// <![CDATA[
    /* [id2] www.masmedio.com\/ - 728x90 */
    OA_show(2);
// ]]> --></script><noscript><a target='_blank' href='http://www.masmedio.com/openx285/openx285/www/delivery/ck.php?n=1e8bd3a'><img border='0' alt='' src='http://www.masmedio.com/openx285/openx285/www/delivery/avw.php?zoneid=2&amp;n=1e8bd3a' /></a></noscript>
	</div>   
    <div id="sendComments">
    	<a class="leerMasComents" href="#frmComments">Env&iacute;e un Comentario</a>
        <div id="frmComments">
        	<form action="" method="post" name="frmSendComments">
            	<table>
                	<tr>
                    	<td>
                        	<input type="text" value="Nombre" id="userName" name="userName" onfocus="clearText(this)" class="txtNotas">
                        </td>
                    </tr>
                    <tr>
                    	<td>
                        	<input type="text" value="Email" id="userEmail" name="userEmail" onfocus="clearText(this)" class="txtNotas">
                        </td>
                    </tr>
                    <tr>
                    	<td>
                        	<textarea id="txtComment" rows="5" cols="" name="txtComment" onfocus="clearText(this)" class="txtNotas">Escribe tu comentario Aqui.</textarea>
                        </td>
                    </tr>
                    <tr>
                    	<td>
                        	{$recaptcha}
                        </td>
                    </tr>
                    <tr>
                    	<td>
							<input type="button" value="Enviar Comentario" onclick="sendComment()" name="btnComentar" id="btnComentar">
                            <input type="hidden" value="{$notaID}" name="notaid">
                        </td>
                    </tr>
                </table>
            </form>
        </div>
	</div>    
    <div id="commentBox">
    	{foreach from=$commentList item=comment}
			<div style="border: 1px #666 dotted; float:left; clear:both; margin-top:10px; padding:10px;">
                <div class="nomComent">{$comment.user}</div>
                <div class="fechaComent">{$comment.fechaCreado}</div>
                <div class="coment">{$comment.comentario}</div>
			</div>
        {/foreach}
    </div>    
</div>
<div id="latDer">
{include file='../templates/latDer.tpl'}
</div>
	
{include file='../templates/footer.tpl'}